// 配置路由
import React from 'react'
import {Route,BrowserRouter,NavLink,Switch} from 'react-router-dom'
import Commen from '../pages/commen'   //  默认就是index.js
import Mask from '../pages/mask' 
import Head from '../component/common/head'

function Rou (){
	return <BrowserRouter>
		<Head/>
		<div>
			{/*配置路由*/}
			<Switch>
				<Route path="/" exact={true} component={Commen} />
				<Route path="/mask" component={Mask} />
			</Switch>
		</div>
	</BrowserRouter>
}
export default Rou;